package com.liujit.standard.basis.admin.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liujit.standard.basis.admin.model.SysMenu;

import java.util.List;

/**
 * @Description 系统菜单Service实现类
 * @Author LiuJun
 * @Date 2021-03-26 09:15:51
 */
public interface SysMenuService extends IService<SysMenu> {

    /**
     * 删除
     *
     * @param id
     * @return
     */
    Boolean del(Long id);

    /**
     * 查询菜单树
     *
     * @return
     */
    List<Tree<Long>> getTree();
}
